﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Quote_app
{
    class Program
    {
        static void Main(string[] args)
        {// Console.WriteLine is to print the line to the console
            Console.WriteLine("I love deadlines. I like the sound they make as they fly by..\n- Douglas Adams");
            // Console.Readline allows you to read the input on the system
            string input = Console.ReadLine();
            //Int array must declare number of items in array
            int[] intArray = new int[10];
            intArray[0] = 0;
            intArray[1] = 1;
            intArray[2] = 2;
            intArray[3] = 3;
            intArray[4] = 4;
            intArray[5] = 5; 
            intArray[6] = 6;
            intArray[7] = 7;
            intArray[8] = 8;
            intArray[9] = 9;
            Console.WriteLine("0,1,2,3,4,5,6,7,8,9");
            Console.ReadLine();
            //for loop to loop through array
            for (int i = 0; i < intArray.Length; i++)
            {// print array to console
                Console.WriteLine("Index {0}", intArray[i]);
                Console.ReadLine();

            }
            //object array
            object[] objectArray = new object[4] {"April 1st 1983", 32, "William Bachman", "Playing my Guitar" };
            //for each instance in the obj array
            foreach (object obj in objectArray) 
            {// Print array to your console
                Console.WriteLine("Type: {0} - Value: {1}", obj.GetType(), obj);
          
            }
            Console.ReadLine();
        }

    }
}
